package com.juice;

import cn.itcast.interceptor.SpringMvcConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Arrays;

@SpringBootApplication
public class SsmApplication {

    public static void main(String[] args) {
        System.out.println(Arrays.toString(args));
        ConfigurableApplicationContext ctx = SpringApplication.run(SsmApplication.class, args);
        System.out.println(ctx.getBean(SpringMvcConfig.class));

    }

}
